package test3.A1_2;

// Building类
class Building {
    private String name;

    public Building(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "Building{name='" + name + '\'' + '}';
    }
}
